%.o:%.c
	gcc -c $<
libmystdio.a:mystdio.o mystring.o
	ar -rc $@ $^
.PHONY:clean
clean:
	rm -rf *.a *.o stdc
.PHONY:output
output:
	mkdir -p stdc/include
	mkdir -p stdc/lib
	cp -rf *.c stdc/include
	cp -rf *.a stdc/lib
	tar -czf stdc.tgz stdc
